package com.xinghen.ace.auth.configuration;

import com.xinghen.ace.auth.interceptor.ClientTokenInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author xinghen
 * @ClassName: FeignConfiguration
 * @Package: com.xinghen.ace.auth.configuration
 * @Description feign配置
 * @create 2018/5/4 15:56
 */
@Configuration
public class FeignConfiguration {

    @Bean
    public ClientTokenInterceptor getClientTokenInterceptor() {
        return new ClientTokenInterceptor();
    }

}
